"""
用户模块路由
"""
from django.urls import path,re_path
from user.views import  RegisterView,ActiveView,LoginView
# app名字
urlpatterns = [
    path('register/',RegisterView.as_view(),name='register' ),#注册
    re_path('^active/(?P<token>.*)$', ActiveView.as_view(), name='active'),#邮件激活
    path('login/',LoginView.as_view(),name='login'),#登录
]
